package cn.xuewenbao.eduorder.service;

import cn.xuewenbao.eduorder.entity.Eduorder;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;

import java.util.Map;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author mafayu
 * @since 2021-06-30
 */
public interface EduorderService extends IService<Eduorder> {

    //生成课程订单
    Result<String> createCourseOrder(String courseId, String mobileByToken);

    //生成会员订单
    Result<String> createVipOrder(String vipTypeId, String mobileByToken);

    //获得已购内容列表(课程)
    Result<?> getPurchasedList(String userId, String columnType);
}
